package com.erp.produce.dao;

import com.erp.produce.entity.ProductionTaskPrintingDyeing;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ProductionTaskPrintingDyeingDao extends JpaRepository<ProductionTaskPrintingDyeing,Long> {
    List<ProductionTaskPrintingDyeing> findAllByOrderId(Long orderId);

    List<ProductionTaskPrintingDyeing> findAllByOrderIdAndTaskStatus(Long orderId, int taskStatus);
}
